package org.edith.shiro.dao;

import org.apache.ibatis.annotations.Insert;

/**
 *  角色权限关系DAO
 *
 */
public interface SysRoleMenuDAO  {
    @Insert( "        create table  if not exists sys_role_menu\n" +
            "        (\n" +
            "          id      bigint auto_increment comment 'ID' primary key,\n" +
            "          role_id bigint null comment '角色ID',\n" +
            "          menu_id bigint null comment '权限ID'\n" +
            "        ) comment '角色与权限关系表' charset = utf8;" )
    void createTable();
}
